package com.tk.exam.mapper;

import com.tk.exam.domain.TkStudentScore;
import com.tk.exam.domain.TkStudentScoreExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TkStudentScoreMapper {
    int countByExample(TkStudentScoreExample example);

    int deleteByExample(TkStudentScoreExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TkStudentScore record);

    int insertSelective(TkStudentScore record);

    List<TkStudentScore> selectByExampleWithRowbounds(TkStudentScoreExample example, RowBounds rowBounds);

    List<TkStudentScore> selectByExample(TkStudentScoreExample example);

    TkStudentScore selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TkStudentScore record, @Param("example") TkStudentScoreExample example);

    int updateByExample(@Param("record") TkStudentScore record, @Param("example") TkStudentScoreExample example);

    int updateByPrimaryKeySelective(TkStudentScore record);

    int updateByPrimaryKey(TkStudentScore record);

    TkStudentScore selectByStudentIdAndExamId(@Param("studentId") Integer studentId,@Param("examId") Integer examId);
}